.micro-edit {
  padding: 40px 50px;

  .button {
    outline: none;
    border: 1px solid #00C3FF;
    border-radius: 4px;
    background-color: white;
    color: #00C3FF;
    line-height: 34px;
    padding: 0 20px;
    cursor: pointer;
    transition: 0.2s all;

    &:hover {
      background-color: #00C3FF;
      color: white;
    }

    &[disabled] {
      border-color: #19CAAD;
      color: #19CAAD;

      &:hover {
        background-color: transparent;
        color: #19CAAD;
      }
    }
  }

  .edit-avatar {
    width: 100%;
    padding-bottom: 30px;
    border-bottom: 1px solid rgb(240, 240, 240);

    .avatar-preview {
      width: 150px;
      height: 150px;
      border: 1px solid #999;
      border-radius: 50%;
      background-size: cover;
      margin: 0 auto 20px;
    }

    .avatar-button {
      text-align: center;

      .button {
        display: inline-block;
        line-height: 36px;
        padding: 0 15px;
      }
    }
  }

  .edit-form {
    line-height: 40px;
    padding-top: 30px;

    span {
      display: inline-block;
    }

    .edit-item {
      display: flex;
      align-items: center;

      &:not(:last-child) {
        margin-bottom: 15px;
      }

      .label {
        width: 60px;
        margin-right: 35px;
        font-size: 14px;
        text-align: right;
        color: #999;
      }

      .now-value {
        margin-right: 30px;
        border: 1px solid transparent;

        &.input {
          outline: none;
          border: 1px solid #CCC;
          border-radius: 4px;
          padding: 0 1em;
        }
      }

      input[type='password'] {
        border: 1px solid;
        border-radius: 4px;
        height: 36px;
        outline: none;
        transition: 0.3s all;

        &[disabled] {
          background-color: silver;
        }
      }

      .button {
        &.success {
          &[disabled] {
            border-color: #19CAAD;
            color: #19CAAD;

            &:hover {
              background-color: transparent;
            }
          }
        }

        &.doing {
          &[disabled] {
            border-color: #FEB752;
            color: #FEB752;

            &:hover {
              background-color: transparent;
            }
          }
        }

        &.error {
          &[disabled] {
            border-color: #F4606C;
            color: #F4606C;

            &:hover {
              background-color: transparent;
            }
          }
        }
      }
    }
  }
}
